<template>
  <div class="app-container">
    <div v-if="user">
      <el-row :gutter="20">

        <el-col>
          <user-card/>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import UserCard from './components/UserCard.vue'

export default {
  name: 'Profile',
  components: { UserCard },
  data() {
    return {
      user: {},
    }
  },
  computed: {
    ...mapGetters([
      'name',
      'avatar',
    ])
  },
  created() {
  },
  methods: {
  }
}
</script>
